namespace RAG.Application.Dtos;

public class ImageSearchResultDto
{
    /// <summary>
    /// 知识项ID
    /// </summary>
    public int Id { get; set; }
    
    /// <summary>
    /// 标题
    /// </summary>
    public string Title { get; set; } = string.Empty;
    
    /// <summary>
    /// 内容
    /// </summary>
    public string Content { get; set; } = string.Empty;
    
    /// <summary>
    /// 图片Base64数据（如果有）
    /// </summary>
    public string? ImageBase64 { get; set; }
    
    /// <summary>
    /// 图片URL（如果有）
    /// </summary>
    public string? ImageUrl { get; set; }
    
    /// <summary>
    /// 相似度分数（0-1之间，1表示完全相似）
    /// </summary>
    public double SimilarityScore { get; set; }
    
    /// <summary>
    /// 知识类型
    /// </summary>
    public string KnowledgeType { get; set; } = string.Empty;
    
    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTime CreatedAt { get; set; }
}
